package com.ting.encrypt.handler;


import com.ting.encrypt.enums.SensitiveType;

/**
 * 不脱敏
 *
 * @author guohaibing
 */
public class NoneSensitiveHandler implements SensitiveTypeHandler {
  @Override
  public SensitiveType getSensitiveType() {
    return SensitiveType.NONE;
  }

  @Override
  public String handle(Object src) {
    if (src != null) {
      return src.toString();
    }
    return null;
  }
}
